Page({
  data: {
  
    show: false,
    array:["男","女"],
    index:0,
    date:"2000-01-01",
    address:["四川省","南充市","顺庆区"],
    nameValue:null
  },
    // 性别
  bindPickerChange(e){
   this.setData({
     index:e.detail.value
   })
  },
    // 日期
    datePickerChange(e){
      this.setData({
        date:e.detail.value
      })
     },
    //  地址
    addressPickerChange(e){
      this.setData({
        address:e.detail.value
      })
     },

  showPopup() {
    this.setData({ show: true });
  },

  onClose() {
    this.setData({ show: false });
  },
});
